#include "ScopeTimer.h"
#include <iostream>
#include <opencv2\opencv.hpp>

using namespace std;
using namespace cv;

ScopeTimer::ScopeTimer()
{
	m_t = (double)getTickCount();
}

ScopeTimer::~ScopeTimer()
{
	m_t = ((double)getTickCount() - m_t)/getTickFrequency();
	cout << "Times passed in seconds: " << m_t << endl;
}

